<script src="<%= global.config.cdn %>/jquery/2.2.4/jquery.<%= global.config.mode %>js"></script>
<script src="<%= global.config.cdn %>/underscore.js/1.8.3/underscore-min.js"></script>
<!--<script src="//cdn.bootcss.com/iCheck/1.0.2/icheck.<%= global.config.mode %>js"></script>-->
<!--<script src="<%= global.config.cdn %>/moment.js/2.18.1/moment.min.js"></script>-->
<script src="<%= global.config.publicPath %>/bootstrap/3.3.6/js/bootstrap.<%= global.config.mode %>js"></script>
<script src="<%= global.config.cdn %>/bootstrap-datepicker/1.6.1/js/bootstrap-datepicker.min.js"></script>
<!--<script src="<%= global.config.cdn %>/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>-->
<!--<script src="<%= global.config.cdn %>/flat-ui/2.3.0/js/flat-ui.<%= global.config.mode %>js"></script>-->

<script src="<%= global.config.publicPath %>/jstools/utils.js"></script>
<script src="<%= global.config.publicPath %>/dolphin/dolphin.<%= global.config.mode %>js"></script>
<script src="<%= global.config.publicPath %>/dolphin/message_<%= locale %>.js"></script>
<script src="<%= global.config.publicPath %>/page/scripts/common/config.js"></script>
<script src="<%= global.config.publicPath %>/page/scripts/common/common.js"></script>
<script src="<%= global.config.cdn %>/select2/4.0.3/js/select2.<%= global.config.mode %>js"></script>
<script>

    'use strict';
    (function () {
        org.breezee.context = {
            contextPath: "<%= global.config.contextPath %>",
            viewPrefix: "<%= global.config.viewPrefix %>",
            queryData: JSON.parse('<%= JSON.stringify(queryData); %>'.replace(/&#34;/g, '"') || "{}"),
            userData: JSON.parse('<%= session && JSON.stringify(session.userData); %>'.replace(/&#34;/g, '"') || "{}"),
            getImgSrc: function () {
                return "<%= global.config.imagePath %>" + arguments[0] + ".png";
            },
            local: "<%= locale %>"
        };
        console.log(org.breezee.context);
        Dolphin.path.contextPath = org.breezee.context.contextPath;
        Dolphin.defaults.url.viewPrefix = org.breezee.context.viewPrefix;
        Dolphin.browser.isMobile = true;
        Dolphin.defaults.img.build = function (param) {
            return org.breezee.context.getImgSrc(param.id);
        };
        Dolphin.defaults.ajax.requestHeader['mySessionCode'] = "<%= session.userData && session.userData.userCode %>";
    })();
    updateShopType();
</script>
<script src="<%= global.config.publicPath %>/page/scripts/common/menu.js"></script>
<script src="<%= global.config.publicPath %>/echarts/3.3.1/echarts.js"></script>
<script src="<%= global.config.publicPath %>/dolphin/dolphin-echarts.js"></script>
<script src="<%= global.config.publicPath %>/page/scripts/<%= path; %>.js" type="text/javascript"></script>

<script src="<%= global.config.publicPath %>/locales/<%= locale %>.js"></script>
